//
//  global.cpp
//  NLCEQ_mixed
//
//  Created by Duong Ngo on 8/5/16.
//  Copyright © 2016 Duong Ngo. All rights reserved.
//

#include "global.hpp"

#include <math.h>

/* GLOBAL PARAMETERS */


//Bankers
const double varphi=0.002;      // Reserves Requirement
const double beta_b = 0.99;      // Bankers's discount factor
const double Rn=  1+0.25/400;  // Lower bound of interest on reserves
const double kappa=0.22;         // Capital requirement
const double thetaa=0.0005;     // Cost of collecting loan
const double deltab= 0.5;       // Loan amortization


//Households
const double beta_h = 0.985;      // Household's discount factor
const double epsilon= 4;        // Elasticity of substitution
const double alphaa=0.34;       // Parameters in production function
const double psi=0.2;          // Collateral constraints
const double deltak = 0.025;    // Capital depriciation
const double iota=100;           //Nominal Price Rigidity
const double chi= 0.586;        // Labor disutility
const double bh_limit=3.4;      // Borrowing limit
const double nu= 0.5;           // Inverse Frisch elastic


//Government policy
const double phipie= 1.25;    //Policy repsonds to inflation


//FOC Problem
const int var_foc= 25; //Number of variables in each period
const int gt_foc= 25; //Number of constrainst in each period
const double pe= 1e4;



// Global vector to stores the result from optimization
std::vector<double> result(var_foc);














